-
Home
-
WP Discourse
-
2.2.3
-
Code
-
Classes
- DiscourseComment
Total Complexity |
54 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
385 |
Lines of code |
215 |
Logical lines of code |
135 |
Comment lines |
105 |
Methods |
10 |
Properties |
2 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sync_comments() |
B |
37 |
16 |
68 |
comments_template() |
A |
47 |
10 |
33 |
get_comments_number() |
S |
51 |
7 |
25 |
get_comment_type_for_post() |
S |
56 |
7 |
18 |
get_discourse_comments() |
S |
60 |
5 |
12 |
discourse_comments_js() |
S |
57 |
3 |
16 |
initialize_comment_route() |
S |
58 |
2 |
17 |
extend_allowed_html() |
S |
61 |
2 |
13 |
__construct() |
S |
62 |
1 |
10 |
setup_options() |
S |
80 |
1 |
3 |